home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 001-100 / 001-025 / 016 / source.files / readme < prev    next >
Text File  |  1995-03-17  |  1KB  |  36 lines

  1. The file called EALstartup.asm is not actually supplied by Electronic Arts, but
  2. is instead a modified version of the Lstartup.asm provided on the Amiga C disk.
  3.  
  4. The modifications consist of bypassing the reference to "__main" which is
  5. produced by compiling the Amiga C version of _main.c.
  6.  
  7.  
  8. The way showilbm.c is written, it won't run from workbench without the changes
  9. that were made to create EALstartup.asm.   When linked with Lstartup.obj
  10. (from Lstartup.asm) the program runs fine if called from CLI, but if called
  11. from Workbench, opens and closes the debug window, then flashes the screen.
  12. If linked with EALstartup.obj (from EALstartup.asm), it runs either from
  13. Workbench or from CLI.
  14.  
  15.  
  16.  
  17. *** Commodore-Amiga has modified the source.files/showilbm.c to allow it to
  18. be linked with the STANDARD Lstartup.obj found on the Amiga C disk.  If
  19. compiled without using -dTINY, it allows the status information, if any,
  20. to be redirected to the little window that the Lattice startup code
  21. automatically opens in the workbench.   The lines that change are:
  22.  
  23.    added a line:
  24.  
  25.       extern struct WBStartup *WBBenchMsg;
  26.  
  27.    changed a line:
  28.  
  29.       from:     wbStartup = (struct WBStartup *)argv;
  30.       to:       wbStartup = WBenchMsg;
  31.  
  32.    changed references from PrintS to printf throughout.
  33.  
  34.  
  35. Rob Peck
  36.